package com.atshiyou.service.impl;

import com.atshiyou.dao.impl.ZanNumDaoImpl;
import com.atshiyou.service.ZanNumDaoService;

public class ZanNumDaoServiceImpl implements ZanNumDaoService {
    ZanNumDaoImpl zanNumDao = new ZanNumDaoImpl();
    @Override
    public int getNum() {
        int num = zanNumDao.getNum();
        return num;
    }

    @Override
    public boolean updateNum(int num) {
        boolean b = zanNumDao.updateNum(num);
        return b;
    }
}
